extern int g1;

void fun(int a[1])
{
    a[0] = g1;
}
